(speedbar-insert-image-button-maybe): Check for `xemacs' feature
authorEric M. Ludlam <zappo@gnu.org>
Wed, 4 Apr 2001 00:49:34 +0000 (00:49 +0000)
committerEric M. Ludlam <zappo@gnu.org>
Wed, 4 Apr 2001 00:49:34 +0000 (00:49 +0000)
instead of for the function `set-extent-property'.

lisp/speedbar.el

index 97e2a582f4808f836ce5f277465bcc7afc972fb2..a880e5713209ab604080c230465737ee7f634558 100644 (file)
@@ -4318,7 +4318,7 @@ If we have an image associated with it, use that image."
        ;; underlying text.  This means if we leave it tangible, then I
        ;; don't have to change said giant piles o code.
        (if (and a (symbol-value (cdr a)))
-           (if (fboundp 'set-extent-property)
+           (if (featurep 'xemacs)
                (add-text-properties (+ start (length bt)) start
                                     (list 'end-glyph (symbol-value (cdr a))
                                           'rear-nonsticky (list 'display)